class_name Item
extends Node2D



var id: int


## 虚函数
func use(_caller: Character) -> void:
    pass


func setup(id_: int) -> void:
    id = id_


func get_info() -> ItemInfo:
    return InventorySystem.get_item_info(id)